package com.joysuch.wwyt.attendance.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/3/1 13:20
 */
@Data
public class AttendanceGroupDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "考勤组名称")
    @NotEmpty(message = "考勤组名称不能我空")
    private String groupName;

    @ApiModelProperty(value = "责任部门id集合")
    private List<Long> resDepartIds;

    @ApiModelProperty(value = "参与对象id集合")
    private List<Long> participantIds;

    @ApiModelProperty(value = "参与对象类型:0人员 1部门,2 岗位")
    private Integer participantType;

    @ApiModelProperty(value = "0固定考勤 1排班制考勤")
    private Integer attendanceFlag;

    @ApiModelProperty(value = "0当月 1下月")
    private Integer effectFlag;

    //固定考勤
    @ApiModelProperty(value = "考勤设置")
    private List<AttendanceGroupShiftDto> shiftDtoList;
}
